package com.neusoft.tijiancms.mapper;

import com.neusoft.tijiancms.po.Doctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface DoctorMapper {
    /**
     *   doctor/getDoctorByCodeByPass
     *   ○ 参数：Doctor对象
     *   ○ 返回值：Doctor对象
     *   ○ 功能：根据医生编码和密码进行登录
     */
    @Select("select * from doctor where docCode=#{docCode} and password=#{password}")
    public Doctor getDoctorByCodeByPass(Doctor doctor);
}
